import json
# 读取文件中的内容,读取到字符串中
with open("a.txt",'r',encoding="utf-8") as f:
    str2 = f.read()

# 将字符串转变成python字典对象
a = json.loads(str2)
print(type(a))
print(a)
